CVE-2023-40032
Potential segfault due to NULL pointer dereference in libvips
Description
libvips is a demand-driven, horizontally threaded image processing library. A specially crafted SVG input can cause libvips versions 8.14.3 or earlier to segfault when attempting to parse a malformed UTF-8 character. Users should upgrade to libvips version 8.14.4 (or later) when processing untrusted input.
INFO
Published Date :
Sept. 11, 2023, 7:15 p.m.
Last Modified :
April 21, 2025, 1:45 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the affected libvips package to version 8.14.4 or later.
- Upgrade the affected packages.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2023-40032.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2023-40032 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2023-40032
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2023-40032 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2023-40032 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Modified Analysis by [email protected]Apr. 21, 2025 Action Type Old Value New Value Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* Added Reference Type CVE: https://lists.fedoraproject.org/archives/list/[email protected]/message/YU2FFC47X2XDEGEHEWAGLU5L3R6FEYD2/ Types: Mailing List Added Reference Type GitHub, Inc.: https://lists.fedoraproject.org/archives/list/[email protected]/message/YU2FFC47X2XDEGEHEWAGLU5L3R6FEYD2/ Types: Mailing List 
- 
                            CVE Modified by [email protected]Feb. 13, 2025 Action Type Old Value New Value Changed Description libvips is a demand-driven, horizontally threaded image processing library. A specially crafted SVG input can cause libvips versions 8.14.3 or earlier to segfault when attempting to parse a malformed UTF-8 character. Users should upgrade to libvips version 8.14.4 (or later) when processing untrusted input. libvips is a demand-driven, horizontally threaded image processing library. A specially crafted SVG input can cause libvips versions 8.14.3 or earlier to segfault when attempting to parse a malformed UTF-8 character. Users should upgrade to libvips version 8.14.4 (or later) when processing untrusted input. 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b Added Reference https://github.com/libvips/libvips/pull/3604 Added Reference https://github.com/libvips/libvips/security/advisories/GHSA-33qp-9pq7-9584 Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/YU2FFC47X2XDEGEHEWAGLU5L3R6FEYD2/ 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Jan. 29, 2024 Action Type Old Value New Value Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/YU2FFC47X2XDEGEHEWAGLU5L3R6FEYD2/ [No types assigned] 
- 
                            Initial Analysis by [email protected]Sep. 15, 2023 Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b No Types Assigned https://github.com/libvips/libvips/commit/e091d65835966ef56d53a4105a7362cafdb1582b Patch Changed Reference Type https://github.com/libvips/libvips/pull/3604 No Types Assigned https://github.com/libvips/libvips/pull/3604 Patch Changed Reference Type https://github.com/libvips/libvips/security/advisories/GHSA-33qp-9pq7-9584 No Types Assigned https://github.com/libvips/libvips/security/advisories/GHSA-33qp-9pq7-9584 Mitigation, Patch, Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:* versions from (including) 8.12.0 up to (excluding) 8.14.4 
Vulnerability Scoring Details
Base CVSS Score: 5.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} -0.03%
score
0.26513
percentile
 
                         
                         
                         
                                             
                                            